using System.Text.Json.Serialization;

namespace Eamon.MeituanDotnetSDK.model.ddzh.merchantdata.merchantDataPoitraffic
{
    /// <summary>
    /// 获取门店流量数据
    /// </summary>
    public class MerchantDataPoitrafficResponse
    {
        /// <summary>
        /// 曝光人数
        /// </summary>
        [JsonPropertyName("viewUv")]
        public int? ViewUv { get; set; }

        /// <summary>
        /// 商详页访问人数
        /// </summary>
        [JsonPropertyName("shopUv")]
        public int? ShopUv { get; set; }

        /// <summary>
        /// 下单人数
        /// </summary>
        [JsonPropertyName("buyUv")]
        public int? BuyUv { get; set; }

        /// <summary>
        /// 到店核销人数
        /// </summary>
        [JsonPropertyName("consumeUv")]
        public int? ConsumeUv { get; set; }

        /// <summary>
        /// 预约人数（客资数）
        /// </summary>
        [JsonPropertyName("bookUv")]
        public int? BookUv { get; set; }

        /// <summary>
        /// 页面停留时间（单位:秒）
        /// </summary>
        [JsonPropertyName("pageTime")]
        public int? PageTime { get; set; }

        public override string ToString()
        {
            return $"MerchantDataPoitrafficResponse{{ViewUv={ViewUv}, ShopUv={ShopUv}, BuyUv={BuyUv}, ConsumeUv={ConsumeUv}, BookUv={BookUv}, PageTime={PageTime}}}";
        }
    }
}
